local bone_attack = fk.CreateSkill{
  name = "bone_attack",
}

bone_attack:addEffect("active", {
  anim_type = "offensive",
  prompt = "#bone_attack",
  card_num = 2,
  target_num = 1,
  card_filter = function(self, player, to_select, selected)
    return #selected < 2
  end,
  target_filter = function(self, player, to_select, selected, selected_cards)
    return #selected == 0 and to_select ~= player and not player:isProhibited(to_select, Fk:cloneCard("slash"))
  end,
  on_use = function (self, room, effect)
    local player = effect.from
    local target = effect.tos[1]
    room:throwCard(effect.cards,bone_attack.name, player, player)

    if target.dead then return end
    local use = room:useVirtualCard("slash", nil, player, target, bone_attack.name, true)
  end,

Fk:loadTranslationTable{
  ["bone_attack"] = "骨攻",
  [":bone_attack"] = "出牌阶段，你可以弃置两张牌并视为对一名角色使用一张无距离和次数限制的【杀】",

  ["#bone_attack"] = "骨攻：请选择【杀】的目标",
  ["$bone_attack"] = "骨头攻击！"
}
})

return bone_attack  --不要忘记返回做好的技能对象哦